.class Lcom/waiqin365/lightapp/dailyreport/view/w;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/dailyreport/view/cn;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/view/i;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/i;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->g()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->e:Z

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->b()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/base/login/LoginMainActivity;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/LoginMainActivity;->dailyCommentEnd()V

    goto :goto_0
.end method

.method public a(I)V
    .locals 4

    if-lez p1, :cond_0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->d(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->j(Lcom/waiqin365/lightapp/dailyreport/view/i;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->n:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->d(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v2}, Lcom/waiqin365/lightapp/dailyreport/view/i;->j(Lcom/waiqin365/lightapp/dailyreport/view/i;)I

    move-result v2

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/dailyreport/a/b;->b(Ljava/lang/String;Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/view/i;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "scoreRatbar"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->d(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v3}, Lcom/waiqin365/lightapp/dailyreport/view/i;->j(Lcom/waiqin365/lightapp/dailyreport/view/i;)I

    move-result v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v2}, Lcom/waiqin365/lightapp/dailyreport/view/i;->j(Lcom/waiqin365/lightapp/dailyreport/view/i;)I

    move-result v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RatingBar;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RatingBar;->setVisibility(I)V

    int-to-float v1, p1

    invoke-virtual {v0, v1}, Landroid/widget/RatingBar;->setRating(F)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->g()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->e:Z

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->b()V

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/base/login/LoginMainActivity;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/w;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/LoginMainActivity;->dailyCommentEnd()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0
.end method
